package com.resource.project.entity.abstracts;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;
@Accessors(chain = true)
@Data
public abstract class AbstractEntity implements Serializable {

    @TableField(value = "createdId",fill = FieldFill.INSERT)
    private Long createdId;

    @TableField(value = "createdName",fill = FieldFill.INSERT)
    private String createdName;

    @TableField(value = "createdDate",fill = FieldFill.INSERT)
    private LocalDateTime createdDate;

}
